﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Kooboo.Commerce.AddIn;

namespace Kooboo.Commerce
{
    public interface IProductAttribute
    {

        int Id
        {
            get;
            set;
        }

        string Name
        {
            get;
            set;
        }

        int Sequence
        {
            get;
            set;
        }


        IProductType ProductType
        {
            get;
            set;
        }


        DataFormat DataFormat
        {
            get;
            set;
        }

        List<string> Selections
        {
            get;
            set;
        }

        string DefaultValues
        {
            get;
            set;
        }

        IWebControl WebControl
        {
            get;
            set;
        }

        List<IValidationRule> ValidationRules
        {
            get;
            set;
        }
    }
}
